package com.lovo.Atm.dao;

import com.lovo.Atm.pojo.UserDO;

public interface UserDAO {

    /**
     * 根据用户名和密码查询用户
     * @param name
     * @param password
     * @return
     */

    UserDO getByNameAndPassword(String name,String password);
    void update(UserDO user);
    UserDO geById(int id);
    UserDO getByUsername(String name);//查询
}
